package message

type MessageType string

const (
	PROPERTY MessageType = "property"
	EVENT    MessageType = "event"
	ALARM    MessageType = "alarm"
	ONLINE   MessageType = "online"
	OFFLINE  MessageType = "offline"
	DEBUG    MessageType = "debug"
)

type Message interface {
	Type() MessageType
	GetDeviceId() string
	GetProductId() string
}
